<template>
  <div id="topContainer">
    <div id="menu">
      <ul>
        <li>
          <router-link to="/box3d">长方体</router-link>
        </li>
        <li>
          <router-link to="/sphere3d">球体</router-link>
        </li>
        <li>
          <router-link to="/cylinder3d">圆柱体</router-link>
        </li>
        <li>
          <router-link to="/cone3d">圆台</router-link>
        </li>
        <li>
          <router-link to="/pipe3d">管道</router-link>
        </li>
        <li>
          <router-link to="/beam3d">梁</router-link>
        </li>
        <li>
          <router-link to="/gear3d">齿轮</router-link>
        </li>
        <li>
          <router-link to="/spring3d">弹簧</router-link>
        </li>
        <li>
          <router-link to="/dxf3d">DXF-Robot</router-link>
        </li>
        <li>
          <router-link to="/stl3d">STL</router-link>
        </li>
      </ul>

    </div>
    <div id="item">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>


  export default {
    name: 'App',
  }
</script>

<style>
  #topContainer {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 20px;
    display: flex;
  }
  #item {
    flex-grow: 1;
  }
  #menu{
    flex-grow: 0;
  }
</style>
